package com.dnjn.mes.biz.service.impl;

import com.dnjn.mes.biz.domain.MesWorkforceShift;
import com.dnjn.mes.biz.mapper.MesWorkforceShiftMapper;
    import com.dnjn.mes.biz.service.IMesWorkforceShiftService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 班次记录 服务实现类
 * </p>
 *
 * @author Amber
 * @since 2023-08-29
 */
@Service("iMesWorkforceShiftService")
        public class MesWorkforceShiftServiceImpl extends ServiceImpl<MesWorkforceShiftMapper, MesWorkforceShift> implements IMesWorkforceShiftService {

    @Override
    public void updateDeleted() {
        baseMapper.updateDeleted();
    }

    @Override
    public List<MesWorkforceShift> countWorkforceRecordCapacitys(String startTime, String endTime, long equipmentId, String workforceName) {
        return baseMapper.countWorkforceRecordCapacitys(startTime,endTime,equipmentId,workforceName);
    }
}
